export type Country = {
  id: string;
  label: string;
  color: string;
}

export type DataRecord = {
  year: number;
  in?: number | null | undefined;
  br?: number | null | undefined;
}


export const countries: Country[] = [{
  id: 'in',
  label: 'India',
  color: 'var(--vis-color0)',
},
{
  id: 'br',
  label: 'Brazil',
  color: 'var(--vis-color1)',
},
]


export const data = [
  {
    year: 1989,
    in: null,
  },
  {
    year: 1990,
    in: 270.904653711417,
    br: 1459.3891403299,
  },
  {
    year: 1991,
    in: 289.260115873744,
    br: 1485.47770766462,
  },
  {
    year: 1992,
    in: 301.718663103219,
    br: 1493.90946025703,
  },
  {
    year: 1993,
    in: 317.59804828618,
    br: 1538.12717642652,
  },
  {
    year: 1994,
    in: 337.328115607323,
    br: 1568.41107958141,
  },
  {
    year: 1995,
    in: 354.353462516906,
    br: 1637.27628824207,
  },
  {
    year: 1996,
    in: 354.444866235897,
    br: 1691.31966398402,
  },
  {
    year: 1997,
    in: 369.395984839115,
  },
  {
    year: 1998,
    in: 379.597777122192,
    br: 1815.03089492586,
  },
  {
    year: 1999,
    br: 1839.60709325481,
  },
  {
    year: 2000,
    in: 384.988418620172,
    br: 1905.7710269775,
  },
  {
    year: 2001,
    in: 384.816354358758,
    br: 1756.81160837002,
  },
  {
    year: 2002,
    in: 401.997856451179,
    br: 1817.13540112192,
  },
  {
    year: 2003,
    in: 419.055104155047,
    br: 1894.62909554308,
  },
  {
    year: 2004,
    in: 441.626538806721,
    br: 1970.41586550174,
  },
  {
    year: 2005,
    in: 458.878379944817,
    br: 2031.50607953893,
  },
  {
    year: 2006,
    br: 2089.17498538706,
  },
  {
    year: 2007,
    br: 2185.74876193515,
  },
  {
    year: 2008,
    in: 555.102915633182,
    br: 2249.32535945695,
  },
  {
    year: 2009,
    in: 588.324306167645,
    br: 2217.79002848663,
  },
  {
    year: 2010,
    in: 629.895949144928,
    br: 2398.60801799243,
  },
  {
    year: 2011,
    in: 678.603763179269,
    br: 2458.55879343851,
  },
  {
    year: 2012,
    in: 709.29231683389,
    br: 2530.977463284,
  },
  {
    year: 2013,
    in: 743.800779206054,
    br: 2600.67222764742,
  },
  {
    year: 2014,
    in: 808.292643714784,
  },
  {
    year: 2015,
    in: 841.084634870945,
  },
  {
    year: 2016,
    in: 879.944208640028,
    br: 2592.61337303819,
  },
  {
    year: 2017,
    in: 918.313686962613,
    br: 2610.16613569938,
  },
  {
    year: 2018,
    in: 970.834176233242,
    br: 2640.41643831267,
  },
  {
    year: 2019,
    in: 988.272169542114,
    br: 2661.18328561313,
  },
  {
    year: 2020,
    in: 901.428810221876,
    br: 2624.84323723758,
  },
  {
    year: 2021,
    in: 964.228004078416,
    br: 2723.96659104663,
  },
  {
    year: 2022,
    in: 1074.84358827742,
    br: 2787.76089640442,
  },
  {
    year: 2023,
    in: null,
    br: 2916.48609397384,
  },
  {
    year: 2024,
    br: null,
  },
]
